package ex1.ga;

import java.util.Comparator;

public class ChromosomeComparator implements Comparator<Chromosome> {

	@Override
	public int compare(Chromosome first, Chromosome second) {
		return new Integer(first.getFitness()).compareTo(new Integer(second.getFitness()));
	}

}
